﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AutoMapper;

namespace Enferno.Public.Web.Mappers
{
    public abstract class SeedableProfile<TSource, TDestination>
    {
        //protected IMappingExpression<TSource, TDestination> BaseMap { get; set; }

        //protected void Configure(IMappingExpression<TSource, TDestination> map)
        //{
        //    map.AfterMap((source, destination) =>
        //    {
        //        if (BaseMap != null)
        //        {
        //            Mapper.Configuration.
        //        }
        //    })
        //    var baseMap = BaseMap ?? Mapper.CreateMap<TSource, TDestination>();

        //    MergeMaps(baseMap, map);
        //}

        //private void MergeMaps(IMappingExpression<TSource, TDestination> baseMap,
        //    IMappingExpression<TSource, TDestination> extendMap)
        //{
        //}
    }
}
